{dede:config name='pagesize' value='30' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>内容模型管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.fa{color:#424b51}
</style>
</head>
<body>
  <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
    <tr>
      <td height="26" colspan="7" background="../static/web/img/tbg.gif">
        <table width='96%' cellpadding='0' cellspacing='0' class="table table-borderless">
          <tr>
            <td width='20%'>内容模型管理</td>
            <td align='right'>
              <a href="mychannel_add.php" class="btn btn-success btn-sm">增加新模型</a>
              <a href="mychannel_edit.php?dopost=exportin" class="btn btn-success btn-sm">导入模型</a>
              <a href="stepselect_main.php" class="btn btn-success btn-sm">联动类别管理</a>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr height="26">
      <td align="right" colspan="7" style="padding-right:16px">图标说明：
        <span class="btn-text"><i class='fa fa-clone' title='复制' alt='复制'></i>复制</span>
        <span class="btn-text"><i class='fa fa-file-text-o' title='模板' alt='模板'></i>模板</span>
        <span class="btn-text"><i class='fa fa-download' title='导出' alt='导出'></i>导出</span>
        <span class="btn-text"><i class='fa fa-pencil-square-o' title='修改' alt='修改'></i>修改</span>
        <span class="btn-text"><i class='btn btn-sm fa fa-search' title='自定义搜索' alt='自定义搜索'></i>自定义搜索</span>
        <span class="btn-text"><i class='fa fa-trash' alt='删除' title='删除'></i>删除</span>
      </td>
    </tr>
    <tr align="center" bgcolor="#F8FCF1" height="26">
      <td width="6%">id号</td>
      <td width="16%">频道名称</td>
      <td width="12%">识别id</td>
      <td width="20%">附加表</td>
      <td width="12%">状态</td>
      <td width="8%">模型</td>
      <td>管理</td>
    </tr>
    {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
    <tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
      <td>{dede:field.id /}</td>
      <td>
        <a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'>{dede:field.typename /}</a>
      </td>
      <td>{dede:field.nid /}</td>
      <td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td>
      <td>{dede:field.isshow function="GetSta(@me,$fields['id'])" /}</td>
      <td>{dede:field.issystem function='IsSystem(@me)'/}</td>
      <td>
        <a href='mychannel_edit.php?id={dede:field.id/}&dopost=copystart'><i class='btn btn-sm fa fa-clone' title='复制' alt='复制'></i></a>
        <a href='mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets'><i class='btn btn-sm fa fa-file-text-o' title='模板' alt='模板'></i></a>
        <a href='mychannel_edit.php?id={dede:field.id /}&dopost=export'><i class='btn btn-sm fa fa-download' title='导出' alt='导出'></i></a>
        <a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'><i class='btn btn-sm fa fa-pencil-square-o' title='修改' alt='修改'></i></a>
        <a href='mychannel_edit.php?mid={dede:field.id/}&dopost=modifysearch'><i class='btn btn fa fa-search' title='自定义搜索' alt='自定义搜索'></i></a>
        <a href='mychannel_edit.php?id={dede:field.id/}&dopost=delete'><i class='btn btn-sm fa fa-trash' alt='删除' title='删除'></i></a>
      </td>
    </tr>
    {/dede:datalist}
    <tr align="center" bgcolor="#f8f8f8" height="36">
      <td colspan="7">{dede:pagelist listsize='6'/}</td>
    </tr>
  </table>
  </td>
  </tr>
  </table>
</body>
</html>